<%@page import="entities.Cerita"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<% Long idcerita = (Long) request.getAttribute("idcerita");%>
<% Cerita cerita = (Cerita) request.getAttribute("cerita");%>

<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Cerita Unyil.com</title>
<link rel="stylesheet" type="text/css" href="style/view.css" media="all">
<script type="text/javascript" src="js/view.js"></script>

</head>
<body id="main_body" >
	
	<img id="top" src="images/top.png" alt="">
	<div id="form_container">
	
            <h1><a>Komentar</a></h1>
            <form id="form_318648" class="appnitro"  method="post" action="ProsesInputKomentar">
                <div class="form_description">
                    <h2>Komentar Cerita <%=cerita.getJudul_cerita()%></h2>
                    <p>Tulis komentar disini</p>
                    <p><a href="LihatCerita?cerita=<%=idcerita%>">Kembali</a></p>
		</div>						
                <ul>					
                    <li id="li_2" >
                        <label class="description" for="isi_komentar">Isi Komentar </label>
                        <div>
                            <textarea id="element_2" name="isi_komentar" class="element textarea small"></textarea> 
                    </div> 
                    </li>
                    <li class="buttons">
                        <input type="hidden" name="form_id" value="318648" />
                        <input type="hidden" name="cerita" value="<%=idcerita%>">
                        <input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" />
                    </li>
			</ul>
            </form>	
            <div id="footer">
                Generated by <a href="http://www.phpform.org">pForm</a>
            </div>
	</div>
	<img id="bottom" src="images/bottom.png" alt="">     
</body>
</html>